package com.atguigu.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) // include为包含，exclude为不包含，DataSourceAutoConfiguration为数据源自动配置类
@ComponentScan(basePackages = {"com.atguigu"})//设置包扫描，扫描com.atguigu（所有在pom里引用的依赖中的com.atguigu）
public class OssApplication {

    public static void main(String args[]){
        SpringApplication.run(OssApplication.class,args);
    }

}
